/*
 * @Author: Du.M
 * @FilePath: \express_basics\routes\invoice.js
 * 发票相关
 */
const express = require('express')
const routeInvoice = express.Router()
const { getProperty , getReceipt ,addProperty , getTable} = require('../service/invoiceServer')
/* GET home page. */
routeInvoice.post('/invoice/getproperty/', getProperty)
routeInvoice.post('/invoice/receipt/', getReceipt)
routeInvoice.get('/invoice/gettable/',getTable)
routeInvoice.post('/api/invoice/',addProperty)
module.exports = routeInvoice